home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group02b.txt / 000075_icon-group-sender_Fri Oct 18 16:26:37 2002.msg < prev    next >
Internet Message Format  |  2003-01-02  |  1KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id g9INOpY26956
  4.     for icon-group-addresses; Fri, 18 Oct 2002 16:24:51 -0700 (MST)
  5. Message-Id: <200210182324.g9INOpY26956@baskerville.CS.Arizona.EDU>
  6. From: "Boulet, Dan" <BouleDa@navcanada.ca>
  7. To: "IconGroup (E-mail)" <icon-group@cs.arizona.edu>,
  8.    "Unicon Group (E-mail)" <unicon-group@lists.sourceforge.net>
  9. Subject: recursive generators
  10. Date: Fri, 18 Oct 2002 15:30:41 -0400
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12. Status: RO
  13.  
  14. This is an appeal to all experts in recursive generation.  Given the
  15. following string:
  16.  
  17. astring :=
  18. "[main],a,b,c,d,[a],a1,[b],b1,b2,[c],c1,c2,c3,[d],1,2,3,[a1],a11,a12,a13,[b1
  19. ],b11,b12,b13,b14,[b2],b21,b22,b23,b24,[a11],x,y,z"
  20.  
  21. Does anyone have any ideas on how the following sub-strings can be
  22. generated:
  23.  
  24. main,a,a1,a11,x
  25. main,a,a1,a11,y
  26. main,a,a1,a11,z
  27. main,a,a1,a12
  28. main,a,a1,a13
  29. main,b,b1,b11
  30. main,b,b1,b12
  31. main,b,b1,b13
  32. main,b,b1,b14
  33. main,b,b2,b21
  34. main,b,b2,b22
  35. main,b,b2,b23
  36. main,b,b2,b24
  37. main,c,c1
  38. main,c,c2
  39. main,c,c3
  40. main,d,1
  41. main,d,2
  42. main,d,3
  43.  
  44. note that:
  45. main points to a,b,c
  46. a points to a1
  47. a1 points to a11,a12,a13
  48. a11 points to x,y,z
  49. b points to b1,b2
  50. etc ...
  51.  
  52.  
  53. Regards,
  54.  
  55. Daniel J. Boulet
  56. NAV CANADA
  57. Systems Test Specialist
  58. C113-4
  59. (613) 248-7221